
        <HTML>
		<HEAD>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
		<meta name="description" content="Flash MX 2004 ActionScript2.0 Library: RegPoint - Wright Internet Solutions">
		<meta name="keywords" content="geometry,RegPoint,Flash,MX,2004,ActionScript,ActionScript2.0,AS2.0 Library,AS2,AS2 Library,Wright Internet Solutions,Wright,class,documentation,methods,functions,interfaces,JavaScript,Java">
		<TITLE>WIS AS2 Library : com.wis.math.geom.util.RegPoint Documentation</TITLE>

		<STYLE><!--
		HR.small{height:1px; width:100%; background:#E7BFA3; border: 0px;}
		HR.big{height:4px; width:100%; background:#E7BFA3; border: 0px;}
		A:hover{text-decoration: underline}
		A{text-decoration: none; color: #993333}
		code{font-family: monospace; font-size: 12px; color: #666666;}
		.methodAttributesTitle{font-size: 12px; font-weight: bold; color: #7B779C}
		.ToC{font-size: 12px; font-weight: bold; color: #993333}
		.methodTitle{font-size: 14px; font-weight: bold; color: #993333}
		.groupTitle{font-size: 18px; font-weight: bold; color: #993333}
		.sectionTitle{font-size: 22px; font-weight: bold; color: #993333}
		.majorTitle{font-size: 32px; font-weight: bold; color: #993333; padding-bottom:100px;}
		.methodsDiv{margin-left:40px;}
		.footer{font-size: 11px; color: #666666;}
		body{font-family: arial,sans-serif; font-size: 12px;}
		//--></STYLE>

		</HEAD>
		<BODY bgColor='#ffffcc'>
		<P class='majorTitle'>com.wis.math.geom.util.RegPoint Documentation</P>


		<P><B>Author:</B> <a href='mailto:wisolutions2002@shaw.ca?subject=wisASLibrary RegPoint Class'>Richard Wright</a><BR>
		<B>Last Modified:</B> 07/17/04 18:23:17<HR class='big'>

		<P class='sectionTitle'>Summary</P>
		<P class='ToC'>com.wis.math.geom.util.RegPoint class:</P>
		<div class='methodsDiv'><a href='#classinfo'>- description</a></div>
<P class='ToC'>com.wis.math.geom.util.RegPoint Properties:</P><div class='methodsDiv'>
<a href='#$xreg'>- $xreg</a><br>
<a href='#$yreg'>- $yreg</a><br>
<a href='#$pt(MovieClip)'>- $pt(MovieClip)</a><br>
</div><br>
<P class='ToC'>com.wis.math.geom.util.RegPoint Methods:</P><div class='methodsDiv'>
<a href='# set _x2'>-  set _x2</a><br>
<a href='# get _x2'>-  get _x2</a><br>
<a href='# set _y2'>-  set _y2</a><br>
<a href='# get _y2'>-  get _y2</a><br>
<a href='# set _xscale2'>-  set _xscale2</a><br>
<a href='# get _xscale2'>-  get _xscale2</a><br>
<a href='# set _yscale2'>-  set _yscale2</a><br>
<a href='# get _yscale2'>-  get _yscale2</a><br>
<a href='# set _rotation2'>-  set _rotation2</a><br>
<a href='# get _rotation2'>-  get _rotation2</a><br>
<a href='# get _xmouse2'>-  get _xmouse2</a><br>
<a href='# get _ymouse2'>-  get _ymouse2</a><br>
<a href='# setPropRel'>-  setPropRel</a><br>
<a href='# init'>-  init</a><br>
</div><br>

		<HR class='big'>
		<P class='sectionTitle'><A name='classinfo'></A>com.wis.math.geom.util.RegPoint <I>class</I></P>
		<P> <span class='methodTitle'>version:</span> 1.6</P>
		<P class="methodTitle">description:</P>
		<P>Implements the behaviours of the RegPoint Class.
 <p>
 		        Provides methods for manipulating a MovieClip's registration point..
 </P>
		<P class="methodTitle">usage:</P> <pre>var inst:RegPoint = new RegPoint();</pre>

<P> <span class='methodTitle'>parameters:</span>
				<ul>
<li>      none  -- no class input parameters.</li>
</ul>

			<HR class='small'>
			<P class='groupTitle'><A name='properties'></A>com.wis.math.geom.util.RegPoint Properties:</P>
			<div class='methodsDiv' >


				<P class='methodTitle'><A name='$xreg'></A><u> $xreg</u></P>
				<P> (Number)  -- x-axis position for registration point</P>

				<P class='methodTitle'><A name='$yreg'></A><u> $yreg</u></P>
				<P> (Number)  -- y-axis position for registration point.</P>

				<P class='methodTitle'><A name='$pt(MovieClip)'></A><u> $pt(MovieClip)</u></P>
				<P> -- clip to display registration ponit.</P>
</div>

			<HR class='small'>
			<P class='groupTitle'><A name='methods'></A>com.wis.math.geom.util.RegPoint Methods:</P>
			<div class='methodsDiv' >


				<P class='methodTitle'><A name=' set _x2'></A><u>  set _x2</u></P>
				<P><span class='methodAttributesTitle'>description: </span>
				Sets x-axis position wrt parent.
     </P>
				<P><span class='methodAttributesTitle'>usage:</span> <pre>inst._x2 = v;</pre>
     </P>
<P> <span class='methodAttributesTitle'>parameters:</span><ul>
<li>  n   (Number)  -- a real number.</li>
</ul></P>
<P><span class='methodAttributesTitle'>returns:</span> (Void)
    </P>

				<P class='methodTitle'><A name=' get _x2'></A><u>  get _x2</u></P>
				<P><span class='methodAttributesTitle'>description: </span>
				Gets x-axis position wrt parent.
     </P>
				<P><span class='methodAttributesTitle'>usage:</span> <pre>inst._x2;</pre>
     </P>
<P><span class='methodAttributesTitle'>returns:</span> (Number)  -- returns a real number.
    </P>

				<P class='methodTitle'><A name=' set _y2'></A><u>  set _y2</u></P>
				<P><span class='methodAttributesTitle'>description: </span>
				Sets y-axis position wrt parent.
     </P>
				<P><span class='methodAttributesTitle'>usage:</span> <pre>inst._y2 = n;</pre>
     </P>
<P> <span class='methodAttributesTitle'>parameters:</span><ul>
<li>  n   (Number)  -- a real number.</li>
</ul></P>
<P><span class='methodAttributesTitle'>returns:</span> (Void)
    </P>

				<P class='methodTitle'><A name=' get _y2'></A><u>  get _y2</u></P>
				<P><span class='methodAttributesTitle'>description: </span>
				Gets y-axis position wrt parent.
     </P>
				<P><span class='methodAttributesTitle'>usage:</span> <pre>inst._y2;</pre>
     </P>
<P><span class='methodAttributesTitle'>returns:</span> (Number)  -- returns a real number.
    </P>

				<P class='methodTitle'><A name=' set _xscale2'></A><u>  set _xscale2</u></P>
				<P><span class='methodAttributesTitle'>description: </span>
				Sets xscale property of this instance.
     </P>
				<P><span class='methodAttributesTitle'>usage:</span> <pre>inst._xscale2 = n;</pre>
     </P>
<P> <span class='methodAttributesTitle'>parameters:</span><ul>
<li>  n   (Number)  -- a real number.</li>
</ul></P>
<P><span class='methodAttributesTitle'>returns:</span> (Void)
    </P>

				<P class='methodTitle'><A name=' get _xscale2'></A><u>  get _xscale2</u></P>
				<P><span class='methodAttributesTitle'>description: </span>
				Gets xscale property of this instance.
     </P>
				<P><span class='methodAttributesTitle'>usage:</span> <pre>inst._xscale2;</pre>
     </P>
<P><span class='methodAttributesTitle'>returns:</span> (Number)  -- returns a real number.
    </P>

				<P class='methodTitle'><A name=' set _yscale2'></A><u>  set _yscale2</u></P>
				<P><span class='methodAttributesTitle'>description: </span>
				Sets yscale property of this instance.
     </P>
				<P><span class='methodAttributesTitle'>usage:</span> <pre>inst._yscale2 = n;</pre>
     </P>
<P> <span class='methodAttributesTitle'>parameters:</span><ul>
<li>  n   (Number)  -- a real number.</li>
</ul></P>
<P><span class='methodAttributesTitle'>returns:</span> (Void)
    </P>

				<P class='methodTitle'><A name=' get _yscale2'></A><u>  get _yscale2</u></P>
				<P><span class='methodAttributesTitle'>description: </span>
				Gets yscale property of this instance.
     </P>
				<P><span class='methodAttributesTitle'>usage:</span> <pre>inst._yscale2;</pre>
     </P>
<P><span class='methodAttributesTitle'>returns:</span> (Number)  -- returns a real number.
    </P>

				<P class='methodTitle'><A name=' set _rotation2'></A><u>  set _rotation2</u></P>
				<P><span class='methodAttributesTitle'>description: </span>
				Sets rotation property of this instance.
     </P>
				<P><span class='methodAttributesTitle'>usage:</span> <pre>inst._rotation2 = n;</pre>
     </P>
<P> <span class='methodAttributesTitle'>parameters:</span><ul>
<li>  n   (Number)  -- a real number.</li>
</ul></P>
<P><span class='methodAttributesTitle'>returns:</span> (Void)
    </P>

				<P class='methodTitle'><A name=' get _rotation2'></A><u>  get _rotation2</u></P>
				<P><span class='methodAttributesTitle'>description: </span>
				Gets rotation property of this instance.
     </P>
				<P><span class='methodAttributesTitle'>usage:</span> <pre>inst._rotation2;</pre>
     </P>
<P><span class='methodAttributesTitle'>returns:</span> (Number)  -- returns a real number.
    </P>

				<P class='methodTitle'><A name=' get _xmouse2'></A><u>  get _xmouse2</u></P>
				<P><span class='methodAttributesTitle'>description: </span>
				Gets x-axis difference between mouse and registration point.
     </P>
				<P><span class='methodAttributesTitle'>usage:</span> <pre>inst._xmouse2;</pre>
     </P>
<P><span class='methodAttributesTitle'>returns:</span> (Number)  -- returns x-axis difference.
    </P>

				<P class='methodTitle'><A name=' get _ymouse2'></A><u>  get _ymouse2</u></P>
				<P><span class='methodAttributesTitle'>description: </span>
				Gets y-axis difference between mouse and registration point.
     </P>
				<P><span class='methodAttributesTitle'>usage:</span> <pre>inst._ymouse2;</pre>
     </P>
<P><span class='methodAttributesTitle'>returns:</span> (Number)  -- returns y-axis difference.
    </P>

				<P class='methodTitle'><A name=' setPropRel'></A><u>  setPropRel</u></P>
				<P><span class='methodAttributesTitle'>description: </span>
				Sets passed property relative to parent coordinates.
     </P>
				<P><span class='methodAttributesTitle'>usage:</span> <pre>inst.setPropRel(prop,amount);</pre>
     </P>
<P> <span class='methodAttributesTitle'>parameters:</span><ul>
<li>  prop   (String)  -- a string for MC property.</li>
<li>  amount   (Number)  -- a real number.</li>
</ul></P>
<P><span class='methodAttributesTitle'>returns:</span> (Void)
    </P>

				<P class='methodTitle'><A name=' init'></A><u>  init</u></P>
				<P><span class='methodAttributesTitle'>description: </span>
				Initializes registration point MC $pt.
     </P>
				<P><span class='methodAttributesTitle'>usage:</span> <pre>inst.init(bArg);</pre>
     </P>
<P> <span class='methodAttributesTitle'>parameters:</span><ul>
<li>  bArg   (Boolean)  -- if true, initializes $pt.</li>
</ul></P>
<P><span class='methodAttributesTitle'>returns:</span> (Void)
    </P>
</div>

			<BR>
			<BR>
			<HR class='big'>
			<span class="footer">generated with <A href='http://blog.klaustrofobik.org/' target='_blank'>AS2docGenerator beta 0.5.3</A></span>
			</BODY>
			</HTML>

